package com.kehutong.crm.message.admin;

import org.coraframework.inject.Inject;
import org.coraframework.json.JSONObject;
import org.coraframework.mvc.MvcAction;
import org.coraframework.mvc.http.ReqMapping;
import com.kehutong.crm.message.service.MessageGlobalConfigService;

/**
 * 消息管理-模板类型枚举
 */
@MvcAction
@ReqMapping("/admin/crm/message/global/config")
public class MessageGlobalConfigController {

    @Inject
    private MessageGlobalConfigService globalConfigService;

    @ReqMapping("/list")
    public Object list(JSONObject jsonObject){
        return globalConfigService.list(jsonObject);
    }

    @ReqMapping("/updateSend")
    public Object updateSend(JSONObject jsonObject){
        return globalConfigService.updateSend(jsonObject);
    }


}
